import {Controller, Get, Render} from '@nestjs/common';
import {AppService} from './app.service';

@Controller()
export class AppController {
    constructor(private readonly appService: AppService) {
    }

    @Get()
    @Render("index")
    getHello(): any {
        // return this.appService.getHello();
        return {name: "杨阳"};
    }
}
